package com.blb.community.pojo.MO;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigInteger;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BuildingMO {
    @JsonSerialize(using= ToStringSerializer.class)
    private BigInteger id;
    private String name;
    private List<UnitMO> units;
}
